package com.lb.service.impel;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lb.entity.orderItem;
import com.lb.mapper.OrderItemMapper;
import com.lb.service.OrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

@Service
public class OrderItemServiceimpel extends ServiceImpl<OrderItemMapper, orderItem> implements OrderItemService {
   @Autowired
   private OrderItemMapper orderItemMapper;

    @Override
    public void add(List<orderItem> list1) {
        for (orderItem item : list1) {
          //orderItemMapper.s
            //  orderItemMapper.insert(item)
        }
     //   orderItemMapper.add(list1);
    }
}
